body{ 
       /* background:linear-gradient(rgb(238, 238, 238) 25%, rgb(238, 238, 238) 75%);*/
 
} 

.msgtypeBox{
  bottom: 0px;
  width: 80%;
  display: none;
  position: fixed;
  padding-bottom: 10px;
 /* background-color: #fff;*/
  padding: 10px;
  z-index: 2;
}

.bxmsg:last-of-type{
     padding-bottom: 100px;
}

    .btn{
      width: auto;
      height: 51px;
      border-radius: 5px;
      border: 1px solid #05a3f0;
      margin-top: -26px;
    }

    textarea{
      width: 91%;
      border-radius: 43px;
      padding: 6px 20px 1px 5px;
      border: 1px solid #eef4f7;
      resize: none;
      box-shadow: 1px 1px 10px 5px #80cadb54;
    }

.boxMsgme{
    display: grid;
    direction: rtl;
    user-select: -moz-none;
    user-select: none;
}

.TextMsg{
  font-size: 16px;
  color: #050505; 
  user-select: none;
  padding-right: 10px;
}

.boxMsguser{
    display: grid;
    direction: ltr;
    text-align: right;
}

.chatBox{
  height: 100%;
  margin-bottom: 0px;
  width: 75%;
  position: absolute;
  top: 0;
  left: 0;
}
 

.messageTextuser{
  background: linear-gradient(rgb(255, 255, 255) 25%, rgb(255, 255, 255) 75%);
  border-radius: 15px 15px 15px 0px;
  padding: 9px;
  max-width: 459px;
  word-wrap: break-word;
  word-break: break-word;
  margin-bottom: 5px;
  margin-left: 2px;
  cursor: pointer;
  margin-top: 8px;
  width: 80%;
  position: relative;
}

.messageTextme{
  background: linear-gradient(rgba(14, 221, 134, 0.8) 25%, rgba(4, 191, 104, 0.61) 75%);
  border-radius: 15px 35px 0px 15px;
  padding: 9px;
  max-width: 459px;
  word-wrap: break-word;
  word-break: break-word;
  margin-bottom: 5px;
  margin-right: 2px;
  cursor: pointer;
  margin-top: 8px;
  width: 80%;
  position: relative;
  user-select: -moz-none;
  user-select: none;

}


.upload-file{
  padding: 8px;
  color: #999;
  cursor: pointer;
  margin-right: auto;
  margin-left: auto;
  display: contents;
  font-size: 20px;
}

.TimeMessage{
      color: #5c5c5c;
      font-size: 10px;
      margin-top: 5px;
      display: grid;
      left: 25px;
      position: inherit;
      text-align: left;
}
 
.ItemMessage{
  display: none;
  font-size: 12px;
  position: absolute;
  background: #f5f5f5;
  padding: 15px;
  border-radius: 10px;
  transition: all 0.7s;
  left: 153px;
  width: 125px;
  height: auto;
  box-shadow: 1px 4px 7px 1px #c5c6c8;
  z-index: 1;
}

.subItem{ 
  padding: 7px;
  font-size: 14px;
  margin-right: 5px;
  user-select: none;
}

.subItem > i{
  right: 5px;
  position: absolute;
  margin-top: 5px; 
}

.subItem:hover{ 
  padding: 7px;
  font-size: 14px;
  color: red;
  font-style: italic;
  cursor: pointer;
}

.ListMessage{
  padding-top: 78px;
  overflow-y: scroll;
  height: 100%;
  padding-bottom: 100px;
  position: relative;
  background: linear-gradient(rgb(238, 238, 238) 25%, rgb(238, 238, 238) 75%);
  background-image: url(../img/bg3.jpg);
  background-repeat: repeat; 
}

.listChats{ 
  border-left: 1px solid rgba(202, 200, 200, 0.9);
  width: 25.092%;
  height: auto;
}

.TitleChats{
  background: rgba(249, 249, 249, 0.98);
  padding: 20px;
  width: 100%;
  height: 73px;
  z-index: 1;
  position: fixed;
  border-right: 1px solid #ccc;
}

.checkUnread{
  position: absolute;
  left: 11px;
  color: #fff;
  bottom: 5px;
}

.user-prof-img{
  margin-right: auto;
  margin-left: auto;
  display: table;
  border: 4px solid #a60fa4;
  border-radius: 258px;
  padding: 10px;
}

.user-prof-img img{
    border-radius: 250px;
}

.user-prof-name{
  margin-right: auto;
  margin-left: auto;
  display: table;
  padding-top: 30px;
  font-size: 20px;
}

.user-prof-number{
  margin-right: auto;
  margin-left: auto;
  display: table;
  font-size: 15px; 
}

.user-last-active{
  margin-right: auto;
  margin-left: auto;
  display: table;
  font-size: 10px;
  font-style: oblique;
  margin-top: -15px;
  padding-bottom: 40px;
}

.checkUnread > i:nth-of-type(even){
  position: initial;
  margin-left: 2px;
  margin-right: -8px;
}

.navbar{
  display: none !important;
}

.searchIcon{
  font-size: 20px !important;
  padding: 10px;
  margin-right: 48px;
  color: #ccc;
  position: absolute;
  border-radius: 5px;
  z-index: 1;
  background-color: #fff;
  right: 87px;
  top: 3px;
}

.searchUser{ 
  border: 1px solid #ccc;
  height: 45px;
  border-radius: 5px;
  padding-right: 10px;
}

.ListAll{
  overflow-y: scroll;
  height: 100%;
  padding-top: 73px;
  position: absolute;
  width: inherit;
  
}

.userIcon{
  font-size: 35px !important;
  color: rgba(255, 255, 255, 0.61);
}

.title-chat{
    text-align: center;
    padding-right: 80px;
    margin-top: 100px;
}

.title-chat-name{
  font-size: 22px;
  margin-right: 90px;
  position: absolute;
  margin-top: -4px;
}

.title-brand{
  text-align: center;
  font-size: 20px !important;
  position: absolute;
  margin-right: 43%;
}

.rowChatsList{
  border-top: 1px solid #eae9e9;
  background-color: #f7f7f7;
  height: 76px;
  padding: 10px;
  transition: all 0.7s;
}

.rowChatsList:hover{
  border-top: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

.rowChatsListActive{
  border-top: 1px solid #ccc;
  background: linear-gradient(rgba(223, 223, 223, 1));
  padding: 10px;
  cursor: pointer;
}


.imageChats{
  border-radius: 50px;
  background: linear-gradient(rgba(169, 42, 241, 0.52) 25%, rgba(27, 7, 168, 0.49) 75%);
  right: 4px;
  margin-right: 10px;
  position: absolute;
  padding:8px 14px 8px 14px;
}

.nameChater{ 
  margin-right: 69px; 
  color: #182328;
  position: relative;
/* 
  white-space: nowrap;
  width: auto;
  max-width: 140px; 
  text-overflow: ellipsis;
  overflow: hidden; */
}

.user-number-show{
  font-size: 16px;
  position: absolute;
  right: -9px;
}

 .usr-small-name{
  text-align: right;
  font-size: 12px;
  padding-right: 10px;
  color: #a6a3a3;
  font-style: italic;
  white-space: nowrap;
  width: auto;
  max-width: 140px;
  text-overflow: ellipsis;
  overflow: hidden;
  position: absolute;
  margin-right: 85px;
}

.LastTextMessage{
  position: absolute;
  margin-right: 69px;
  margin-top: 30px;
  color: rgb(110, 110, 112);
  white-space: nowrap;
  width: auto;
  max-width: 60%;
  text-overflow: ellipsis;
  overflow: hidden;
}

.LastChatTime{
  position: absolute;
  left: 20px;
  color: rgb(143, 141, 141);
}

.StatusChater{
  position: absolute;
  margin-top: 43px;
  margin-right: 45px;
}

.title-lastLogin{
  position: absolute;
  margin-right: 94px;
  font-size: 11px;
  margin-top: 28px;
  color: #8a8a8a;
}


.title-image{
  position: absolute;
  top: 11px;
}

.startLoading{
    background-color: #fff;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1;  
}

.startChatText{
  margin-right: 30%;
  margin-left: auto;
  display: block;
  margin-top: 100px;
  font-size: 20px;
}

.formLogin { 
  margin-right: 50%;
  margin-top: 180px;
}

.title-welcome{
  margin-top: 100px;
  font-size: 16px;
  margin-right: -20px;
  text-shadow: 2px 4px 4px #ccc;
  margin-right: 5%;
}

.Login-Number{
  height: 60px;
  width: 400px;
  border-radius: 5px;
  border: none !important;
  padding-right: 10px;
  font-size: 25px;
  box-shadow: 1px 4px 7px 1px #c2cbd5, 0 0 0 0 rgba(13, 209, 87, 0.25);
  text-align: center;
  direction: ltr;
}

.loadPageBtn{
  margin-top: 10px;
  width: 100px;
  margin-right: 7%;
}

.getCode{
    display: none;
    background-color: #e6f0f5;
    position: fixed;
    z-index: 1;
    padding: 20px;
    width: 100%;
    height: 100%; 
    top: 0; 
}
.numberToSmsT{
  color: red;
}

.step3{
  display: none;
}

.detailID{
  position: absolute;
  margin-top: 19px;
  margin-right: 5px;
}

.LogOut{ 
  position: initial;
  left: auto;
  margin-top: 18px;
  font-size: 20px !important;
  cursor: pointer !important;
  padding: 11px;
  right: 352px;
}

.search-div{
  position: absolute;
  top: 15px;
  right: 50px;
}
 .search-top{
    height: 73px;
    position: fixed;
    background-color: #f8f8f8;
    width: 100%;
    z-index: 1;
  }

.unreadList{ 
  position: absolute;
  color: rgb(255, 255, 255);
  background: rgb(4, 191, 104);
  border-radius: 50px;
  width: 21px;
  text-align: center;
  margin-top: 28px;
  left: 40px;
  margin-right: 18%;
}

.textmsg{
  font-family: unset !important;
  color: #666;
  font-size: inherit !important;
}

.addUserChat{
  left: 30px;
  position: fixed;
}


.addUserToChat{
  text-align: center;
  color: #666;
  font-size: 16px;
  border: 1px solid;
  position: absolute;
  left: 0;
  border-radius: 50px;
  padding: 5px 0px 0px 0px;
  width: 31px;
}

.addUserToChat:hover{
  color: green; 
  cursor: pointer;
}

/*
.boxadduser{
  display: none;
  position: fixed;
  width: 25%;
  height: 30%;
  background: #fff;
  margin-right: 41%;
  text-align: center;
  padding: 20px;
  box-shadow: 2px 20px 220px 22px rgba(70, 60, 60, 0.86);
  z-index: 2;
  margin-top: 5%;
  transition: all 0.7s;
}*/

@media (max-width: 1270px) {
  .usr-small-name{
    display: none;
  }
}


@media (max-width: 900px) {

  .formLogin {
      margin-right: 10%;
  }

  .Login-Number{
      height: 50px;
      width: 90%;
      margin-right: -10px;
  }
 
  .listChats{
    width: 95%;
    height: 100%;
    z-index: 1;
    position: absolute;
    display: none;
  }

  .TitleChats{
    background: #fff;
    /*padding: 25px;*/
    width: 100%;
  }
  
  .chatBox{
    height: 100%;
    margin-bottom: 0px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }

.msgtypeBox{ 
    width: 100%;
    display: none; 
}
.sendMessage{ 
    margin-top: -36px;
  }

 .navbar{
    display: block !important;
    font-size: 20px !important;
    padding-left: 30px;
    cursor: pointer;
    /*border: 1px solid #ccc;*/
    position: absolute;
    color: #ccc;
}

.navbar-Close {
    margin: 10px;
    top: 10px;
    right: 10px;
}

 .navbar:hover{
  color: #939393;
  transition: all 0.8s;
}

.LastChatTime {
    position: absolute;
    left: 10px !important; 
    right: auto;
  }

.title-image {
  position: absolute;
  top: 12px;
  margin-right: 43px;
}

.title-chat-name{
    margin-right: 125px !important;
    white-space: nowrap;
    width: auto;
    max-width: 155px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.startChatText{
  margin-right: 15px;
  margin-left: auto;
  display: block;
  margin-top: 200px;
  font-size: 20px;
}

.title-lastLogin {
    margin-right: 126px;
    position: absolute;
    margin-top: 28px;
} 

.LastTextMessage{ 
  max-width: 59%;  
}

.title-brand { 
  margin-right: 25%;
}
 
 .unreadList { 
  left: 20px;
  right: auto;
}
.LogOut{  
    position: absolute;
    left: 0;
    margin-top: 18px;
    font-size: 20px !important;
    cursor: pointer !important;
    padding: 11px;
    right: auto;
}

.search-div {
  position: absolute;
  right: 79px;
}

.messageTextUser { 
  max-width: 60%; 
}

.TextMsg {
  font-size: 14px;
  color: #0b086a;
}

 .TimeMessage{ 
      margin-right: 65%;
}


}
